﻿using System;
using VisionCloud.Domain.Common;

namespace VisionCloud.Domain.DtoModel.Ms
{
    public class MsUpdatePkgCondition : PageBase
    {
        /// <summary>
        /// 机器人运行环境
        /// </summary>
        public string OS { get; set; }

        /// <summary>
        /// 机器人上的视觉框架版本
        /// </summary>
        public string Version { get; set; }

        /// <summary>
        /// 机器人ID
        /// </summary>
        public string ID { get; set; }

        /// <summary>
        /// 验证令牌
        /// </summary>
        public string Token { get; set; }
    }

    public class MsUpdatePkgDto
    {
        public string Name { get; set; }
        public string Mode { get; set; }
        public string Version { get; set; }

        public string Md5 { get; set; }
        public string OS { get; set; }
        public string Size { get; set; }

        public string Url { get; set; }

        public string Notes { get; set; }
        public Guid CreatedBy { get; set; }
        public DateTime CreatedDate { get; set; }
        public Guid LastUpdatedBy { get; set; }
        public DateTime LastUpdatedDate { get; set; }

        public string LastUpdatedByName { get; set; }
    }
}